@extends('home.public.master')
@section('content')
    <div class="main-container container">
        <ul class="breadcrumb">
            <li><a href="/"><i class="fa fa-home"></i></a></li>
            <li><a href="javascript:;">个人中心</a></li>
            <li><a href="{{route('member.address.index')}}">地址管理</a></li>
        </ul>
        <div class="row">
            <!--Middle Part Start-->
            <div id="content" class="col-sm-9">
                <h1 class=""> 您好:</h1>
                <h3 style="color: orangered;" class="title">&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
                    &nbsp;{{auth()->user()->name}}</h3>
                <form class="form-horizontal" action="{{route('member.address.store')}}" method="post">
                    @csrf
                    <fieldset>
                        <legend>添加新地址</legend>
                        <div class="form-group required">
                            <label for="input-firstname" class="col-sm-2 control-label">收件人</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" placeholder="收件人姓名" value="" name="name">
                            </div>
                        </div>
                        <div class="form-group required">
                            <label for="input-firstname" class="col-sm-2 control-label">收件人手机</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" placeholder="收件人手机" value="" name="phone">
                            </div>
                        </div>
                        <div class="form-group required">
                            <label for="input-firstname" class="col-sm-2 control-label">收件地址</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" placeholder="收货地址" value="" name="address">
                            </div>
                        </div>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label">是否设为默认地址</label>
                            <div class="col-sm-10">
                                <label class="radio-inline">
                                    <input type="checkbox" value="1" name="is_default"> 是
                                </label>
                            </div>
                        </div>

                    </fieldset>
                    <div class="buttons clearfix">
                        <div class="pull-right">
                            <input style="background: #FF5E00; color: white;" type="submit" class="btn" value="提交">
                        </div>
                    </div>
                </form>
            </div>
            @include('home.public.left')
        </div>
    </div>
@endsection


